#ifndef __PR2000_MAIN_H__
#define __PR2000_MAIN_H__

#include "pr2000.h"
#define MAX_PR2000_CNT MAX_PR2000_CHIPCNT
extern  uint8_t gFlagIrqExtiPR2000;
extern  uint8_t gFlagTimer100MsecPR2000;

extern char gbNovideStatus[MAX_PR2000_CHIPCNT];
extern char gbvideoStable[MAX_PR2000_CHIPCNT];
extern _stPrRxMode gstPrRxMode[MAX_PR2000_CHIPCNT];
extern _stPrRxMode gstPrRxMode_backup[MAX_PR2000_CHIPCNT];

extern void pr2000_init(void);
extern void pr2000_loop(void);
extern void pr2000_io_init(void);
extern void pr2000_Input_chg(unsigned char chn);

#endif 
